package dao.inte;

import domain.AbstractEntity;

import java.io.Serializable;
import java.util.List;

public interface AbstractEntityRepositoryInterface<T extends AbstractEntity> extends Serializable {

    void delete(T object);

    List<T> findAll();

    T findById(Long id);

    T findLast();

    T save(T object) throws Exception;


    int count();


}
